package com.ai.wx.service;

import java.util.List;

import com.ai.wx.entity.Product;
import com.ai.wx.entity.ProductPromotion;
import com.ai.wx.exception.FlowMarketException;
import com.ai.wx.pojo.ProductPrice;

public interface ProductService {
	public List<Product> getProductsByOperId(Integer operId);
	public Product getProductById(String productId);
	public void loadCache();
	
	public ProductPrice getProdPrice(String productId,String promotionCode)throws FlowMarketException;
	public ProductPromotion getProdPromById(String productId, int promotionRate);
	public boolean chkPromCode(String promotionCode);
}
